<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    //Math.round(Math.random()*(b-a))+a;  a-b 随机整数 15-10
    for (i = 0; i <= 20; i++) {
        var abc = Math.round(Math.random() * (15 - 10)) + 10; //10-15
        document.write(abc + "<br>");
    }

</script>
</body>
</html>